
find_device3:     file format elf64-x86-64


Disassembly of section .init:

0000000000001000 <_init>:
    1000:	f3 0f 1e fa          	endbr64 
    1004:	48 83 ec 08          	sub    $0x8,%rsp
    1008:	48 8b 05 d9 2f 00 00 	mov    0x2fd9(%rip),%rax        # 3fe8 <__gmon_start__>
    100f:	48 85 c0             	test   %rax,%rax
    1012:	74 02                	je     1016 <_init+0x16>
    1014:	ff d0                	callq  *%rax
    1016:	48 83 c4 08          	add    $0x8,%rsp
    101a:	c3                   	retq   

Disassembly of section .plt:

0000000000001020 <.plt>:
    1020:	ff 35 22 2f 00 00    	pushq  0x2f22(%rip)        # 3f48 <_GLOBAL_OFFSET_TABLE_+0x8>
    1026:	f2 ff 25 23 2f 00 00 	bnd jmpq *0x2f23(%rip)        # 3f50 <_GLOBAL_OFFSET_TABLE_+0x10>
    102d:	0f 1f 00             	nopl   (%rax)
    1030:	f3 0f 1e fa          	endbr64 
    1034:	68 00 00 00 00       	pushq  $0x0
    1039:	f2 e9 e1 ff ff ff    	bnd jmpq 1020 <.plt>
    103f:	90                   	nop
    1040:	f3 0f 1e fa          	endbr64 
    1044:	68 01 00 00 00       	pushq  $0x1
    1049:	f2 e9 d1 ff ff ff    	bnd jmpq 1020 <.plt>
    104f:	90                   	nop
    1050:	f3 0f 1e fa          	endbr64 
    1054:	68 02 00 00 00       	pushq  $0x2
    1059:	f2 e9 c1 ff ff ff    	bnd jmpq 1020 <.plt>
    105f:	90                   	nop
    1060:	f3 0f 1e fa          	endbr64 
    1064:	68 03 00 00 00       	pushq  $0x3
    1069:	f2 e9 b1 ff ff ff    	bnd jmpq 1020 <.plt>
    106f:	90                   	nop
    1070:	f3 0f 1e fa          	endbr64 
    1074:	68 04 00 00 00       	pushq  $0x4
    1079:	f2 e9 a1 ff ff ff    	bnd jmpq 1020 <.plt>
    107f:	90                   	nop
    1080:	f3 0f 1e fa          	endbr64 
    1084:	68 05 00 00 00       	pushq  $0x5
    1089:	f2 e9 91 ff ff ff    	bnd jmpq 1020 <.plt>
    108f:	90                   	nop
    1090:	f3 0f 1e fa          	endbr64 
    1094:	68 06 00 00 00       	pushq  $0x6
    1099:	f2 e9 81 ff ff ff    	bnd jmpq 1020 <.plt>
    109f:	90                   	nop
    10a0:	f3 0f 1e fa          	endbr64 
    10a4:	68 07 00 00 00       	pushq  $0x7
    10a9:	f2 e9 71 ff ff ff    	bnd jmpq 1020 <.plt>
    10af:	90                   	nop
    10b0:	f3 0f 1e fa          	endbr64 
    10b4:	68 08 00 00 00       	pushq  $0x8
    10b9:	f2 e9 61 ff ff ff    	bnd jmpq 1020 <.plt>
    10bf:	90                   	nop
    10c0:	f3 0f 1e fa          	endbr64 
    10c4:	68 09 00 00 00       	pushq  $0x9
    10c9:	f2 e9 51 ff ff ff    	bnd jmpq 1020 <.plt>
    10cf:	90                   	nop
    10d0:	f3 0f 1e fa          	endbr64 
    10d4:	68 0a 00 00 00       	pushq  $0xa
    10d9:	f2 e9 41 ff ff ff    	bnd jmpq 1020 <.plt>
    10df:	90                   	nop
    10e0:	f3 0f 1e fa          	endbr64 
    10e4:	68 0b 00 00 00       	pushq  $0xb
    10e9:	f2 e9 31 ff ff ff    	bnd jmpq 1020 <.plt>
    10ef:	90                   	nop
    10f0:	f3 0f 1e fa          	endbr64 
    10f4:	68 0c 00 00 00       	pushq  $0xc
    10f9:	f2 e9 21 ff ff ff    	bnd jmpq 1020 <.plt>
    10ff:	90                   	nop
    1100:	f3 0f 1e fa          	endbr64 
    1104:	68 0d 00 00 00       	pushq  $0xd
    1109:	f2 e9 11 ff ff ff    	bnd jmpq 1020 <.plt>
    110f:	90                   	nop
    1110:	f3 0f 1e fa          	endbr64 
    1114:	68 0e 00 00 00       	pushq  $0xe
    1119:	f2 e9 01 ff ff ff    	bnd jmpq 1020 <.plt>
    111f:	90                   	nop
    1120:	f3 0f 1e fa          	endbr64 
    1124:	68 0f 00 00 00       	pushq  $0xf
    1129:	f2 e9 f1 fe ff ff    	bnd jmpq 1020 <.plt>
    112f:	90                   	nop

Disassembly of section .plt.got:

0000000000001130 <__cxa_finalize@plt>:
    1130:	f3 0f 1e fa          	endbr64 
    1134:	f2 ff 25 bd 2e 00 00 	bnd jmpq *0x2ebd(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    113b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .plt.sec:

0000000000001140 <free@plt>:
    1140:	f3 0f 1e fa          	endbr64 
    1144:	f2 ff 25 0d 2e 00 00 	bnd jmpq *0x2e0d(%rip)        # 3f58 <free@GLIBC_2.2.5>
    114b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001150 <strcpy@plt>:
    1150:	f3 0f 1e fa          	endbr64 
    1154:	f2 ff 25 05 2e 00 00 	bnd jmpq *0x2e05(%rip)        # 3f60 <strcpy@GLIBC_2.2.5>
    115b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001160 <puts@plt>:
    1160:	f3 0f 1e fa          	endbr64 
    1164:	f2 ff 25 fd 2d 00 00 	bnd jmpq *0x2dfd(%rip)        # 3f68 <puts@GLIBC_2.2.5>
    116b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001170 <fclose@plt>:
    1170:	f3 0f 1e fa          	endbr64 
    1174:	f2 ff 25 f5 2d 00 00 	bnd jmpq *0x2df5(%rip)        # 3f70 <fclose@GLIBC_2.2.5>
    117b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001180 <__stack_chk_fail@plt>:
    1180:	f3 0f 1e fa          	endbr64 
    1184:	f2 ff 25 ed 2d 00 00 	bnd jmpq *0x2ded(%rip)        # 3f78 <__stack_chk_fail@GLIBC_2.4>
    118b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001190 <printf@plt>:
    1190:	f3 0f 1e fa          	endbr64 
    1194:	f2 ff 25 e5 2d 00 00 	bnd jmpq *0x2de5(%rip)        # 3f80 <printf@GLIBC_2.2.5>
    119b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011a0 <strrchr@plt>:
    11a0:	f3 0f 1e fa          	endbr64 
    11a4:	f2 ff 25 dd 2d 00 00 	bnd jmpq *0x2ddd(%rip)        # 3f88 <strrchr@GLIBC_2.2.5>
    11ab:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011b0 <memcmp@plt>:
    11b0:	f3 0f 1e fa          	endbr64 
    11b4:	f2 ff 25 d5 2d 00 00 	bnd jmpq *0x2dd5(%rip)        # 3f90 <memcmp@GLIBC_2.2.5>
    11bb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011c0 <memcpy@plt>:
    11c0:	f3 0f 1e fa          	endbr64 
    11c4:	f2 ff 25 cd 2d 00 00 	bnd jmpq *0x2dcd(%rip)        # 3f98 <memcpy@GLIBC_2.14>
    11cb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011d0 <access@plt>:
    11d0:	f3 0f 1e fa          	endbr64 
    11d4:	f2 ff 25 c5 2d 00 00 	bnd jmpq *0x2dc5(%rip)        # 3fa0 <access@GLIBC_2.2.5>
    11db:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011e0 <fopen@plt>:
    11e0:	f3 0f 1e fa          	endbr64 
    11e4:	f2 ff 25 bd 2d 00 00 	bnd jmpq *0x2dbd(%rip)        # 3fa8 <fopen@GLIBC_2.2.5>
    11eb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011f0 <strtok@plt>:
    11f0:	f3 0f 1e fa          	endbr64 
    11f4:	f2 ff 25 b5 2d 00 00 	bnd jmpq *0x2db5(%rip)        # 3fb0 <strtok@GLIBC_2.2.5>
    11fb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001200 <atoi@plt>:
    1200:	f3 0f 1e fa          	endbr64 
    1204:	f2 ff 25 ad 2d 00 00 	bnd jmpq *0x2dad(%rip)        # 3fb8 <atoi@GLIBC_2.2.5>
    120b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001210 <getline@plt>:
    1210:	f3 0f 1e fa          	endbr64 
    1214:	f2 ff 25 a5 2d 00 00 	bnd jmpq *0x2da5(%rip)        # 3fc0 <getline@GLIBC_2.2.5>
    121b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001220 <fwrite@plt>:
    1220:	f3 0f 1e fa          	endbr64 
    1224:	f2 ff 25 9d 2d 00 00 	bnd jmpq *0x2d9d(%rip)        # 3fc8 <fwrite@GLIBC_2.2.5>
    122b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001230 <strstr@plt>:
    1230:	f3 0f 1e fa          	endbr64 
    1234:	f2 ff 25 95 2d 00 00 	bnd jmpq *0x2d95(%rip)        # 3fd0 <strstr@GLIBC_2.2.5>
    123b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .text:

0000000000001240 <_start>:
    1240:	f3 0f 1e fa          	endbr64 
    1244:	31 ed                	xor    %ebp,%ebp
    1246:	49 89 d1             	mov    %rdx,%r9
    1249:	5e                   	pop    %rsi
    124a:	48 89 e2             	mov    %rsp,%rdx
    124d:	48 83 e4 f0          	and    $0xfffffffffffffff0,%rsp
    1251:	50                   	push   %rax
    1252:	54                   	push   %rsp
    1253:	4c 8d 05 96 07 00 00 	lea    0x796(%rip),%r8        # 19f0 <__libc_csu_fini>
    125a:	48 8d 0d 1f 07 00 00 	lea    0x71f(%rip),%rcx        # 1980 <__libc_csu_init>
    1261:	48 8d 3d a0 06 00 00 	lea    0x6a0(%rip),%rdi        # 1908 <main>
    1268:	ff 15 72 2d 00 00    	callq  *0x2d72(%rip)        # 3fe0 <__libc_start_main@GLIBC_2.2.5>
    126e:	f4                   	hlt    
    126f:	90                   	nop

0000000000001270 <deregister_tm_clones>:
    1270:	48 8d 3d 99 2d 00 00 	lea    0x2d99(%rip),%rdi        # 4010 <__TMC_END__>
    1277:	48 8d 05 92 2d 00 00 	lea    0x2d92(%rip),%rax        # 4010 <__TMC_END__>
    127e:	48 39 f8             	cmp    %rdi,%rax
    1281:	74 15                	je     1298 <deregister_tm_clones+0x28>
    1283:	48 8b 05 4e 2d 00 00 	mov    0x2d4e(%rip),%rax        # 3fd8 <_ITM_deregisterTMCloneTable>
    128a:	48 85 c0             	test   %rax,%rax
    128d:	74 09                	je     1298 <deregister_tm_clones+0x28>
    128f:	ff e0                	jmpq   *%rax
    1291:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1298:	c3                   	retq   
    1299:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

00000000000012a0 <register_tm_clones>:
    12a0:	48 8d 3d 69 2d 00 00 	lea    0x2d69(%rip),%rdi        # 4010 <__TMC_END__>
    12a7:	48 8d 35 62 2d 00 00 	lea    0x2d62(%rip),%rsi        # 4010 <__TMC_END__>
    12ae:	48 29 fe             	sub    %rdi,%rsi
    12b1:	48 89 f0             	mov    %rsi,%rax
    12b4:	48 c1 ee 3f          	shr    $0x3f,%rsi
    12b8:	48 c1 f8 03          	sar    $0x3,%rax
    12bc:	48 01 c6             	add    %rax,%rsi
    12bf:	48 d1 fe             	sar    %rsi
    12c2:	74 14                	je     12d8 <register_tm_clones+0x38>
    12c4:	48 8b 05 25 2d 00 00 	mov    0x2d25(%rip),%rax        # 3ff0 <_ITM_registerTMCloneTable>
    12cb:	48 85 c0             	test   %rax,%rax
    12ce:	74 08                	je     12d8 <register_tm_clones+0x38>
    12d0:	ff e0                	jmpq   *%rax
    12d2:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
    12d8:	c3                   	retq   
    12d9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

00000000000012e0 <__do_global_dtors_aux>:
    12e0:	f3 0f 1e fa          	endbr64 
    12e4:	80 3d 25 2d 00 00 00 	cmpb   $0x0,0x2d25(%rip)        # 4010 <__TMC_END__>
    12eb:	75 2b                	jne    1318 <__do_global_dtors_aux+0x38>
    12ed:	55                   	push   %rbp
    12ee:	48 83 3d 02 2d 00 00 	cmpq   $0x0,0x2d02(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    12f5:	00 
    12f6:	48 89 e5             	mov    %rsp,%rbp
    12f9:	74 0c                	je     1307 <__do_global_dtors_aux+0x27>
    12fb:	48 8b 3d 06 2d 00 00 	mov    0x2d06(%rip),%rdi        # 4008 <__dso_handle>
    1302:	e8 29 fe ff ff       	callq  1130 <__cxa_finalize@plt>
    1307:	e8 64 ff ff ff       	callq  1270 <deregister_tm_clones>
    130c:	c6 05 fd 2c 00 00 01 	movb   $0x1,0x2cfd(%rip)        # 4010 <__TMC_END__>
    1313:	5d                   	pop    %rbp
    1314:	c3                   	retq   
    1315:	0f 1f 00             	nopl   (%rax)
    1318:	c3                   	retq   
    1319:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001320 <frame_dummy>:
    1320:	f3 0f 1e fa          	endbr64 
    1324:	e9 77 ff ff ff       	jmpq   12a0 <register_tm_clones>

0000000000001329 <drv_cp_file>:
    1329:	f3 0f 1e fa          	endbr64 
    132d:	55                   	push   %rbp
    132e:	48 89 e5             	mov    %rsp,%rbp
    1331:	48 83 ec 60          	sub    $0x60,%rsp
    1335:	48 89 7d b8          	mov    %rdi,-0x48(%rbp)
    1339:	48 89 75 b0          	mov    %rsi,-0x50(%rbp)
    133d:	89 55 ac             	mov    %edx,-0x54(%rbp)
    1340:	48 89 4d a0          	mov    %rcx,-0x60(%rbp)
    1344:	64 48 8b 04 25 28 00 	mov    %fs:0x28,%rax
    134b:	00 00 
    134d:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    1351:	31 c0                	xor    %eax,%eax
    1353:	c7 45 c0 00 00 00 00 	movl   $0x0,-0x40(%rbp)
    135a:	48 c7 45 d8 00 00 00 	movq   $0x0,-0x28(%rbp)
    1361:	00 
    1362:	48 c7 45 e0 00 00 00 	movq   $0x0,-0x20(%rbp)
    1369:	00 
    136a:	c7 45 c4 00 00 00 00 	movl   $0x0,-0x3c(%rbp)
    1371:	48 c7 45 c8 00 00 00 	movq   $0x0,-0x38(%rbp)
    1378:	00 
    1379:	48 c7 45 e8 00 00 00 	movq   $0x0,-0x18(%rbp)
    1380:	00 
    1381:	48 c7 45 d0 00 00 00 	movq   $0x0,-0x30(%rbp)
    1388:	00 
    1389:	48 8b 45 b8          	mov    -0x48(%rbp),%rax
    138d:	be 00 00 00 00       	mov    $0x0,%esi
    1392:	48 89 c7             	mov    %rax,%rdi
    1395:	e8 36 fe ff ff       	callq  11d0 <access@plt>
    139a:	85 c0                	test   %eax,%eax
    139c:	74 16                	je     13b4 <drv_cp_file+0x8b>
    139e:	48 8d 3d 63 0c 00 00 	lea    0xc63(%rip),%rdi        # 2008 <_IO_stdin_used+0x8>
    13a5:	e8 b6 fd ff ff       	callq  1160 <puts@plt>
    13aa:	b8 ff ff ff ff       	mov    $0xffffffff,%eax
    13af:	e9 77 01 00 00       	jmpq   152b <drv_cp_file+0x202>
    13b4:	83 7d c0 00          	cmpl   $0x0,-0x40(%rbp)
    13b8:	0f 85 6a 01 00 00    	jne    1528 <drv_cp_file+0x1ff>
    13be:	48 8b 45 b8          	mov    -0x48(%rbp),%rax
    13c2:	48 8d 35 5c 0c 00 00 	lea    0xc5c(%rip),%rsi        # 2025 <_IO_stdin_used+0x25>
    13c9:	48 89 c7             	mov    %rax,%rdi
    13cc:	e8 0f fe ff ff       	callq  11e0 <fopen@plt>
    13d1:	48 89 45 d8          	mov    %rax,-0x28(%rbp)
    13d5:	48 8b 45 b0          	mov    -0x50(%rbp),%rax
    13d9:	48 8d 35 47 0c 00 00 	lea    0xc47(%rip),%rsi        # 2027 <_IO_stdin_used+0x27>
    13e0:	48 89 c7             	mov    %rax,%rdi
    13e3:	e8 f8 fd ff ff       	callq  11e0 <fopen@plt>
    13e8:	48 89 45 e0          	mov    %rax,-0x20(%rbp)
    13ec:	48 83 7d e0 00       	cmpq   $0x0,-0x20(%rbp)
    13f1:	0f 84 d4 00 00 00    	je     14cb <drv_cp_file+0x1a2>
    13f7:	48 83 7d d8 00       	cmpq   $0x0,-0x28(%rbp)
    13fc:	0f 84 c9 00 00 00    	je     14cb <drv_cp_file+0x1a2>
    1402:	eb 6b                	jmp    146f <drv_cp_file+0x146>
    1404:	48 83 7d f0 00       	cmpq   $0x0,-0x10(%rbp)
    1409:	7e 64                	jle    146f <drv_cp_file+0x146>
    140b:	83 7d ac 01          	cmpl   $0x1,-0x54(%rbp)
    140f:	75 3f                	jne    1450 <drv_cp_file+0x127>
    1411:	48 8b 45 d0          	mov    -0x30(%rbp),%rax
    1415:	48 8b 55 a0          	mov    -0x60(%rbp),%rdx
    1419:	48 89 d6             	mov    %rdx,%rsi
    141c:	48 89 c7             	mov    %rax,%rdi
    141f:	e8 0c fe ff ff       	callq  1230 <strstr@plt>
    1424:	48 89 45 e8          	mov    %rax,-0x18(%rbp)
    1428:	48 83 7d e8 00       	cmpq   $0x0,-0x18(%rbp)
    142d:	74 40                	je     146f <drv_cp_file+0x146>
    142f:	48 8b 75 f0          	mov    -0x10(%rbp),%rsi
    1433:	48 8b 45 d0          	mov    -0x30(%rbp),%rax
    1437:	48 8b 55 e0          	mov    -0x20(%rbp),%rdx
    143b:	48 89 d1             	mov    %rdx,%rcx
    143e:	ba 01 00 00 00       	mov    $0x1,%edx
    1443:	48 89 c7             	mov    %rax,%rdi
    1446:	e8 d5 fd ff ff       	callq  1220 <fwrite@plt>
    144b:	89 45 c4             	mov    %eax,-0x3c(%rbp)
    144e:	eb 1f                	jmp    146f <drv_cp_file+0x146>
    1450:	48 8b 75 f0          	mov    -0x10(%rbp),%rsi
    1454:	48 8b 45 d0          	mov    -0x30(%rbp),%rax
    1458:	48 8b 55 e0          	mov    -0x20(%rbp),%rdx
    145c:	48 89 d1             	mov    %rdx,%rcx
    145f:	ba 01 00 00 00       	mov    $0x1,%edx
    1464:	48 89 c7             	mov    %rax,%rdi
    1467:	e8 b4 fd ff ff       	callq  1220 <fwrite@plt>
    146c:	89 45 c4             	mov    %eax,-0x3c(%rbp)
    146f:	48 8b 55 d8          	mov    -0x28(%rbp),%rdx
    1473:	48 8d 4d c8          	lea    -0x38(%rbp),%rcx
    1477:	48 8d 45 d0          	lea    -0x30(%rbp),%rax
    147b:	48 89 ce             	mov    %rcx,%rsi
    147e:	48 89 c7             	mov    %rax,%rdi
    1481:	e8 8a fd ff ff       	callq  1210 <getline@plt>
    1486:	48 89 45 f0          	mov    %rax,-0x10(%rbp)
    148a:	48 83 7d f0 ff       	cmpq   $0xffffffffffffffff,-0x10(%rbp)
    148f:	0f 85 6f ff ff ff    	jne    1404 <drv_cp_file+0xdb>
    1495:	48 8b 45 d8          	mov    -0x28(%rbp),%rax
    1499:	48 89 c7             	mov    %rax,%rdi
    149c:	e8 cf fc ff ff       	callq  1170 <fclose@plt>
    14a1:	48 8b 45 e0          	mov    -0x20(%rbp),%rax
    14a5:	48 89 c7             	mov    %rax,%rdi
    14a8:	e8 c3 fc ff ff       	callq  1170 <fclose@plt>
    14ad:	48 8b 45 d0          	mov    -0x30(%rbp),%rax
    14b1:	48 85 c0             	test   %rax,%rax
    14b4:	74 0c                	je     14c2 <drv_cp_file+0x199>
    14b6:	48 8b 45 d0          	mov    -0x30(%rbp),%rax
    14ba:	48 89 c7             	mov    %rax,%rdi
    14bd:	e8 7e fc ff ff       	callq  1140 <free@plt>
    14c2:	c7 45 c0 00 00 00 00 	movl   $0x0,-0x40(%rbp)
    14c9:	eb 5d                	jmp    1528 <drv_cp_file+0x1ff>
    14cb:	48 83 7d d8 00       	cmpq   $0x0,-0x28(%rbp)
    14d0:	74 24                	je     14f6 <drv_cp_file+0x1cd>
    14d2:	48 8b 45 b0          	mov    -0x50(%rbp),%rax
    14d6:	48 89 c6             	mov    %rax,%rsi
    14d9:	48 8d 3d 4a 0b 00 00 	lea    0xb4a(%rip),%rdi        # 202a <_IO_stdin_used+0x2a>
    14e0:	b8 00 00 00 00       	mov    $0x0,%eax
    14e5:	e8 a6 fc ff ff       	callq  1190 <printf@plt>
    14ea:	48 8b 45 d8          	mov    -0x28(%rbp),%rax
    14ee:	48 89 c7             	mov    %rax,%rdi
    14f1:	e8 7a fc ff ff       	callq  1170 <fclose@plt>
    14f6:	48 83 7d e0 00       	cmpq   $0x0,-0x20(%rbp)
    14fb:	74 24                	je     1521 <drv_cp_file+0x1f8>
    14fd:	48 8b 45 b8          	mov    -0x48(%rbp),%rax
    1501:	48 89 c6             	mov    %rax,%rsi
    1504:	48 8d 3d 33 0b 00 00 	lea    0xb33(%rip),%rdi        # 203e <_IO_stdin_used+0x3e>
    150b:	b8 00 00 00 00       	mov    $0x0,%eax
    1510:	e8 7b fc ff ff       	callq  1190 <printf@plt>
    1515:	48 8b 45 e0          	mov    -0x20(%rbp),%rax
    1519:	48 89 c7             	mov    %rax,%rdi
    151c:	e8 4f fc ff ff       	callq  1170 <fclose@plt>
    1521:	c7 45 c0 ff ff ff ff 	movl   $0xffffffff,-0x40(%rbp)
    1528:	8b 45 c0             	mov    -0x40(%rbp),%eax
    152b:	48 8b 4d f8          	mov    -0x8(%rbp),%rcx
    152f:	64 48 33 0c 25 28 00 	xor    %fs:0x28,%rcx
    1536:	00 00 
    1538:	74 05                	je     153f <drv_cp_file+0x216>
    153a:	e8 41 fc ff ff       	callq  1180 <__stack_chk_fail@plt>
    153f:	c9                   	leaveq 
    1540:	c3                   	retq   

0000000000001541 <find_device>:
    1541:	f3 0f 1e fa          	endbr64 
    1545:	55                   	push   %rbp
    1546:	48 89 e5             	mov    %rsp,%rbp
    1549:	48 81 ec 30 02 00 00 	sub    $0x230,%rsp
    1550:	48 89 bd d8 fd ff ff 	mov    %rdi,-0x228(%rbp)
    1557:	64 48 8b 04 25 28 00 	mov    %fs:0x28,%rax
    155e:	00 00 
    1560:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    1564:	31 c0                	xor    %eax,%eax
    1566:	c7 85 ec fd ff ff 01 	movl   $0x1,-0x214(%rbp)
    156d:	00 00 00 
    1570:	c7 85 e8 fd ff ff 00 	movl   $0x0,-0x218(%rbp)
    1577:	00 00 00 
    157a:	48 c7 85 f0 fd ff ff 	movq   $0x0,-0x210(%rbp)
    1581:	00 00 00 00 
    1585:	48 c7 85 f8 fd ff ff 	movq   $0x0,-0x208(%rbp)
    158c:	00 00 00 00 
    1590:	66 c7 45 ea 20 00    	movw   $0x20,-0x16(%rbp)
    1596:	48 c7 85 08 fe ff ff 	movq   $0x0,-0x1f8(%rbp)
    159d:	00 00 00 00 
    15a1:	48 8d 45 ec          	lea    -0x14(%rbp),%rax
    15a5:	48 c7 00 00 00 00 00 	movq   $0x0,(%rax)
    15ac:	c7 40 08 00 00 00 00 	movl   $0x0,0x8(%rax)
    15b3:	48 8d 85 20 fe ff ff 	lea    -0x1e0(%rbp),%rax
    15ba:	48 89 c6             	mov    %rax,%rsi
    15bd:	b8 00 00 00 00       	mov    $0x0,%eax
    15c2:	ba 39 00 00 00       	mov    $0x39,%edx
    15c7:	48 89 f7             	mov    %rsi,%rdi
    15ca:	48 89 d1             	mov    %rdx,%rcx
    15cd:	f3 48 ab             	rep stos %rax,%es:(%rdi)
    15d0:	8b 85 ec fd ff ff    	mov    -0x214(%rbp),%eax
    15d6:	48 8d 0d 75 0a 00 00 	lea    0xa75(%rip),%rcx        # 2052 <_IO_stdin_used+0x52>
    15dd:	89 c2                	mov    %eax,%edx
    15df:	48 8d 35 6f 0a 00 00 	lea    0xa6f(%rip),%rsi        # 2055 <_IO_stdin_used+0x55>
    15e6:	48 8d 3d 7c 0a 00 00 	lea    0xa7c(%rip),%rdi        # 2069 <_IO_stdin_used+0x69>
    15ed:	e8 37 fd ff ff       	callq  1329 <drv_cp_file>
    15f2:	48 8d 35 2c 0a 00 00 	lea    0xa2c(%rip),%rsi        # 2025 <_IO_stdin_used+0x25>
    15f9:	48 8d 3d 55 0a 00 00 	lea    0xa55(%rip),%rdi        # 2055 <_IO_stdin_used+0x55>
    1600:	e8 db fb ff ff       	callq  11e0 <fopen@plt>
    1605:	48 89 85 08 fe ff ff 	mov    %rax,-0x1f8(%rbp)
    160c:	e9 93 02 00 00       	jmpq   18a4 <find_device+0x363>
    1611:	48 8b 85 f8 fd ff ff 	mov    -0x208(%rbp),%rax
    1618:	be 20 00 00 00       	mov    $0x20,%esi
    161d:	48 89 c7             	mov    %rax,%rdi
    1620:	e8 7b fb ff ff       	callq  11a0 <strrchr@plt>
    1625:	48 89 85 18 fe ff ff 	mov    %rax,-0x1e8(%rbp)
    162c:	48 8b 85 18 fe ff ff 	mov    -0x1e8(%rbp),%rax
    1633:	48 89 c6             	mov    %rax,%rsi
    1636:	48 8d 3d 3d 0a 00 00 	lea    0xa3d(%rip),%rdi        # 207a <_IO_stdin_used+0x7a>
    163d:	b8 00 00 00 00       	mov    $0x0,%eax
    1642:	e8 49 fb ff ff       	callq  1190 <printf@plt>
    1647:	48 83 bd 18 fe ff ff 	cmpq   $0x0,-0x1e8(%rbp)
    164e:	00 
    164f:	75 05                	jne    1656 <find_device+0x115>
    1651:	e9 4e 02 00 00       	jmpq   18a4 <find_device+0x363>
    1656:	48 83 85 18 fe ff ff 	addq   $0x1,-0x1e8(%rbp)
    165d:	01 
    165e:	48 8b 95 18 fe ff ff 	mov    -0x1e8(%rbp),%rdx
    1665:	48 8b 85 d8 fd ff ff 	mov    -0x228(%rbp),%rax
    166c:	48 89 d6             	mov    %rdx,%rsi
    166f:	48 89 c7             	mov    %rax,%rdi
    1672:	e8 d9 fa ff ff       	callq  1150 <strcpy@plt>
    1677:	48 8d 4d ec          	lea    -0x14(%rbp),%rcx
    167b:	48 8b 85 18 fe ff ff 	mov    -0x1e8(%rbp),%rax
    1682:	ba 03 00 00 00       	mov    $0x3,%edx
    1687:	48 89 ce             	mov    %rcx,%rsi
    168a:	48 89 c7             	mov    %rax,%rdi
    168d:	e8 1e fb ff ff       	callq  11b0 <memcmp@plt>
    1692:	85 c0                	test   %eax,%eax
    1694:	0f 85 1a 01 00 00    	jne    17b4 <find_device+0x273>
    169a:	48 8d 3d e5 09 00 00 	lea    0x9e5(%rip),%rdi        # 2086 <_IO_stdin_used+0x86>
    16a1:	e8 ba fa ff ff       	callq  1160 <puts@plt>
    16a6:	c7 85 e8 fd ff ff 00 	movl   $0x0,-0x218(%rbp)
    16ad:	00 00 00 
    16b0:	48 8b 85 f8 fd ff ff 	mov    -0x208(%rbp),%rax
    16b7:	48 8d 55 ea          	lea    -0x16(%rbp),%rdx
    16bb:	48 89 d6             	mov    %rdx,%rsi
    16be:	48 89 c7             	mov    %rax,%rdi
    16c1:	e8 2a fb ff ff       	callq  11f0 <strtok@plt>
    16c6:	48 89 85 00 fe ff ff 	mov    %rax,-0x200(%rbp)
    16cd:	e9 8c 00 00 00       	jmpq   175e <find_device+0x21d>
    16d2:	83 bd e8 fd ff ff 02 	cmpl   $0x2,-0x218(%rbp)
    16d9:	75 64                	jne    173f <find_device+0x1fe>
    16db:	8b 45 e0             	mov    -0x20(%rbp),%eax
    16de:	83 e8 01             	sub    $0x1,%eax
    16e1:	48 63 d0             	movslq %eax,%rdx
    16e4:	48 89 d0             	mov    %rdx,%rax
    16e7:	48 c1 e0 03          	shl    $0x3,%rax
    16eb:	48 29 d0             	sub    %rdx,%rax
    16ee:	48 c1 e0 03          	shl    $0x3,%rax
    16f2:	48 01 e8             	add    %rbp,%rax
    16f5:	48 2d dd 01 00 00    	sub    $0x1dd,%rax
    16fb:	0f b6 00             	movzbl (%rax),%eax
    16fe:	88 85 e7 fd ff ff    	mov    %al,-0x219(%rbp)
    1704:	48 8b 85 00 fe ff ff 	mov    -0x200(%rbp),%rax
    170b:	48 89 c7             	mov    %rax,%rdi
    170e:	e8 ed fa ff ff       	callq  1200 <atoi@plt>
    1713:	8b 55 e0             	mov    -0x20(%rbp),%edx
    1716:	8d 72 ff             	lea    -0x1(%rdx),%esi
    1719:	0f b6 95 e7 fd ff ff 	movzbl -0x219(%rbp),%edx
    1720:	89 c7                	mov    %eax,%edi
    1722:	48 63 ca             	movslq %edx,%rcx
    1725:	48 63 d6             	movslq %esi,%rdx
    1728:	48 89 d0             	mov    %rdx,%rax
    172b:	48 c1 e0 03          	shl    $0x3,%rax
    172f:	48 29 d0             	sub    %rdx,%rax
    1732:	48 01 c0             	add    %rax,%rax
    1735:	48 01 c8             	add    %rcx,%rax
    1738:	89 bc 85 28 fe ff ff 	mov    %edi,-0x1d8(%rbp,%rax,4)
    173f:	83 85 e8 fd ff ff 01 	addl   $0x1,-0x218(%rbp)
    1746:	48 8d 45 ea          	lea    -0x16(%rbp),%rax
    174a:	48 89 c6             	mov    %rax,%rsi
    174d:	bf 00 00 00 00       	mov    $0x0,%edi
    1752:	e8 99 fa ff ff       	callq  11f0 <strtok@plt>
    1757:	48 89 85 00 fe ff ff 	mov    %rax,-0x200(%rbp)
    175e:	48 83 bd 00 fe ff ff 	cmpq   $0x0,-0x200(%rbp)
    1765:	00 
    1766:	0f 85 66 ff ff ff    	jne    16d2 <find_device+0x191>
    176c:	8b 45 e0             	mov    -0x20(%rbp),%eax
    176f:	8d 48 ff             	lea    -0x1(%rax),%ecx
    1772:	48 63 d1             	movslq %ecx,%rdx
    1775:	48 89 d0             	mov    %rdx,%rax
    1778:	48 c1 e0 03          	shl    $0x3,%rax
    177c:	48 29 d0             	sub    %rdx,%rax
    177f:	48 c1 e0 03          	shl    $0x3,%rax
    1783:	48 01 e8             	add    %rbp,%rax
    1786:	48 2d dd 01 00 00    	sub    $0x1dd,%rax
    178c:	0f b6 00             	movzbl (%rax),%eax
    178f:	8d 70 01             	lea    0x1(%rax),%esi
    1792:	48 63 d1             	movslq %ecx,%rdx
    1795:	48 89 d0             	mov    %rdx,%rax
    1798:	48 c1 e0 03          	shl    $0x3,%rax
    179c:	48 29 d0             	sub    %rdx,%rax
    179f:	48 c1 e0 03          	shl    $0x3,%rax
    17a3:	48 01 e8             	add    %rbp,%rax
    17a6:	48 2d dd 01 00 00    	sub    $0x1dd,%rax
    17ac:	40 88 30             	mov    %sil,(%rax)
    17af:	e9 d5 00 00 00       	jmpq   1889 <find_device+0x348>
    17b4:	48 8d 3d d9 08 00 00 	lea    0x8d9(%rip),%rdi        # 2094 <_IO_stdin_used+0x94>
    17bb:	e8 a0 f9 ff ff       	callq  1160 <puts@plt>
    17c0:	8b 45 e0             	mov    -0x20(%rbp),%eax
    17c3:	48 8d 8d 20 fe ff ff 	lea    -0x1e0(%rbp),%rcx
    17ca:	48 63 d0             	movslq %eax,%rdx
    17cd:	48 89 d0             	mov    %rdx,%rax
    17d0:	48 c1 e0 03          	shl    $0x3,%rax
    17d4:	48 29 d0             	sub    %rdx,%rax
    17d7:	48 c1 e0 03          	shl    $0x3,%rax
    17db:	48 01 c1             	add    %rax,%rcx
    17de:	48 8b 85 18 fe ff ff 	mov    -0x1e8(%rbp),%rax
    17e5:	ba 03 00 00 00       	mov    $0x3,%edx
    17ea:	48 89 c6             	mov    %rax,%rsi
    17ed:	48 89 cf             	mov    %rcx,%rdi
    17f0:	e8 cb f9 ff ff       	callq  11c0 <memcpy@plt>
    17f5:	c7 85 e8 fd ff ff 00 	movl   $0x0,-0x218(%rbp)
    17fc:	00 00 00 
    17ff:	48 8b 85 f8 fd ff ff 	mov    -0x208(%rbp),%rax
    1806:	48 8d 55 ea          	lea    -0x16(%rbp),%rdx
    180a:	48 89 d6             	mov    %rdx,%rsi
    180d:	48 89 c7             	mov    %rax,%rdi
    1810:	e8 db f9 ff ff       	callq  11f0 <strtok@plt>
    1815:	48 89 85 00 fe ff ff 	mov    %rax,-0x200(%rbp)
    181c:	eb 58                	jmp    1876 <find_device+0x335>
    181e:	83 bd e8 fd ff ff 02 	cmpl   $0x2,-0x218(%rbp)
    1825:	75 30                	jne    1857 <find_device+0x316>
    1827:	48 8b 85 00 fe ff ff 	mov    -0x200(%rbp),%rax
    182e:	48 89 c7             	mov    %rax,%rdi
    1831:	e8 ca f9 ff ff       	callq  1200 <atoi@plt>
    1836:	8b 55 e0             	mov    -0x20(%rbp),%edx
    1839:	89 c1                	mov    %eax,%ecx
    183b:	48 63 d2             	movslq %edx,%rdx
    183e:	48 89 d0             	mov    %rdx,%rax
    1841:	48 c1 e0 03          	shl    $0x3,%rax
    1845:	48 29 d0             	sub    %rdx,%rax
    1848:	48 c1 e0 03          	shl    $0x3,%rax
    184c:	48 01 e8             	add    %rbp,%rax
    184f:	48 2d dc 01 00 00    	sub    $0x1dc,%rax
    1855:	89 08                	mov    %ecx,(%rax)
    1857:	83 85 e8 fd ff ff 01 	addl   $0x1,-0x218(%rbp)
    185e:	48 8d 45 ea          	lea    -0x16(%rbp),%rax
    1862:	48 89 c6             	mov    %rax,%rsi
    1865:	bf 00 00 00 00       	mov    $0x0,%edi
    186a:	e8 81 f9 ff ff       	callq  11f0 <strtok@plt>
    186f:	48 89 85 00 fe ff ff 	mov    %rax,-0x200(%rbp)
    1876:	48 83 bd 00 fe ff ff 	cmpq   $0x0,-0x200(%rbp)
    187d:	00 
    187e:	75 9e                	jne    181e <find_device+0x2dd>
    1880:	8b 45 e0             	mov    -0x20(%rbp),%eax
    1883:	83 c0 01             	add    $0x1,%eax
    1886:	89 45 e0             	mov    %eax,-0x20(%rbp)
    1889:	48 8b 8d 18 fe ff ff 	mov    -0x1e8(%rbp),%rcx
    1890:	48 8d 45 ec          	lea    -0x14(%rbp),%rax
    1894:	ba 03 00 00 00       	mov    $0x3,%edx
    1899:	48 89 ce             	mov    %rcx,%rsi
    189c:	48 89 c7             	mov    %rax,%rdi
    189f:	e8 1c f9 ff ff       	callq  11c0 <memcpy@plt>
    18a4:	48 8b 95 08 fe ff ff 	mov    -0x1f8(%rbp),%rdx
    18ab:	48 8d 8d f0 fd ff ff 	lea    -0x210(%rbp),%rcx
    18b2:	48 8d 85 f8 fd ff ff 	lea    -0x208(%rbp),%rax
    18b9:	48 89 ce             	mov    %rcx,%rsi
    18bc:	48 89 c7             	mov    %rax,%rdi
    18bf:	e8 4c f9 ff ff       	callq  1210 <getline@plt>
    18c4:	48 89 85 10 fe ff ff 	mov    %rax,-0x1f0(%rbp)
    18cb:	48 83 bd 10 fe ff ff 	cmpq   $0xffffffffffffffff,-0x1f0(%rbp)
    18d2:	ff 
    18d3:	0f 85 38 fd ff ff    	jne    1611 <find_device+0xd0>
    18d9:	8b 45 e0             	mov    -0x20(%rbp),%eax
    18dc:	89 c6                	mov    %eax,%esi
    18de:	48 8d 3d ba 07 00 00 	lea    0x7ba(%rip),%rdi        # 209f <_IO_stdin_used+0x9f>
    18e5:	b8 00 00 00 00       	mov    $0x0,%eax
    18ea:	e8 a1 f8 ff ff       	callq  1190 <printf@plt>
    18ef:	8b 45 e0             	mov    -0x20(%rbp),%eax
    18f2:	48 8b 4d f8          	mov    -0x8(%rbp),%rcx
    18f6:	64 48 33 0c 25 28 00 	xor    %fs:0x28,%rcx
    18fd:	00 00 
    18ff:	74 05                	je     1906 <find_device+0x3c5>
    1901:	e8 7a f8 ff ff       	callq  1180 <__stack_chk_fail@plt>
    1906:	c9                   	leaveq 
    1907:	c3                   	retq   

0000000000001908 <main>:
    1908:	f3 0f 1e fa          	endbr64 
    190c:	55                   	push   %rbp
    190d:	48 89 e5             	mov    %rsp,%rbp
    1910:	48 83 ec 20          	sub    $0x20,%rsp
    1914:	64 48 8b 04 25 28 00 	mov    %fs:0x28,%rax
    191b:	00 00 
    191d:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    1921:	31 c0                	xor    %eax,%eax
    1923:	c7 45 e8 00 00 00 00 	movl   $0x0,-0x18(%rbp)
    192a:	48 c7 45 ec 00 00 00 	movq   $0x0,-0x14(%rbp)
    1931:	00 
    1932:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%rbp)
    1939:	48 8d 45 ec          	lea    -0x14(%rbp),%rax
    193d:	48 89 c7             	mov    %rax,%rdi
    1940:	e8 fc fb ff ff       	callq  1541 <find_device>
    1945:	89 45 e8             	mov    %eax,-0x18(%rbp)
    1948:	48 8d 55 ec          	lea    -0x14(%rbp),%rdx
    194c:	8b 45 e8             	mov    -0x18(%rbp),%eax
    194f:	89 c6                	mov    %eax,%esi
    1951:	48 8d 3d 58 07 00 00 	lea    0x758(%rip),%rdi        # 20b0 <_IO_stdin_used+0xb0>
    1958:	b8 00 00 00 00       	mov    $0x0,%eax
    195d:	e8 2e f8 ff ff       	callq  1190 <printf@plt>
    1962:	b8 00 00 00 00       	mov    $0x0,%eax
    1967:	48 8b 4d f8          	mov    -0x8(%rbp),%rcx
    196b:	64 48 33 0c 25 28 00 	xor    %fs:0x28,%rcx
    1972:	00 00 
    1974:	74 05                	je     197b <main+0x73>
    1976:	e8 05 f8 ff ff       	callq  1180 <__stack_chk_fail@plt>
    197b:	c9                   	leaveq 
    197c:	c3                   	retq   
    197d:	0f 1f 00             	nopl   (%rax)

0000000000001980 <__libc_csu_init>:
    1980:	f3 0f 1e fa          	endbr64 
    1984:	41 57                	push   %r15
    1986:	4c 8d 3d b3 23 00 00 	lea    0x23b3(%rip),%r15        # 3d40 <__frame_dummy_init_array_entry>
    198d:	41 56                	push   %r14
    198f:	49 89 d6             	mov    %rdx,%r14
    1992:	41 55                	push   %r13
    1994:	49 89 f5             	mov    %rsi,%r13
    1997:	41 54                	push   %r12
    1999:	41 89 fc             	mov    %edi,%r12d
    199c:	55                   	push   %rbp
    199d:	48 8d 2d a4 23 00 00 	lea    0x23a4(%rip),%rbp        # 3d48 <__do_global_dtors_aux_fini_array_entry>
    19a4:	53                   	push   %rbx
    19a5:	4c 29 fd             	sub    %r15,%rbp
    19a8:	48 83 ec 08          	sub    $0x8,%rsp
    19ac:	e8 4f f6 ff ff       	callq  1000 <_init>
    19b1:	48 c1 fd 03          	sar    $0x3,%rbp
    19b5:	74 1f                	je     19d6 <__libc_csu_init+0x56>
    19b7:	31 db                	xor    %ebx,%ebx
    19b9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    19c0:	4c 89 f2             	mov    %r14,%rdx
    19c3:	4c 89 ee             	mov    %r13,%rsi
    19c6:	44 89 e7             	mov    %r12d,%edi
    19c9:	41 ff 14 df          	callq  *(%r15,%rbx,8)
    19cd:	48 83 c3 01          	add    $0x1,%rbx
    19d1:	48 39 dd             	cmp    %rbx,%rbp
    19d4:	75 ea                	jne    19c0 <__libc_csu_init+0x40>
    19d6:	48 83 c4 08          	add    $0x8,%rsp
    19da:	5b                   	pop    %rbx
    19db:	5d                   	pop    %rbp
    19dc:	41 5c                	pop    %r12
    19de:	41 5d                	pop    %r13
    19e0:	41 5e                	pop    %r14
    19e2:	41 5f                	pop    %r15
    19e4:	c3                   	retq   
    19e5:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
    19ec:	00 00 00 00 

00000000000019f0 <__libc_csu_fini>:
    19f0:	f3 0f 1e fa          	endbr64 
    19f4:	c3                   	retq   

Disassembly of section .fini:

00000000000019f8 <_fini>:
    19f8:	f3 0f 1e fa          	endbr64 
    19fc:	48 83 ec 08          	sub    $0x8,%rsp
    1a00:	48 83 c4 08          	add    $0x8,%rsp
    1a04:	c3                   	retq   
